package com.kele.client;

import com.kele.model.goods.Brand;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

@FeignClient(value = "kele-goods",contextId="brand")
public interface BrandFeignClient {

    @GetMapping("brand/findAll")
    public List<Brand> findAll();
}
